Finding the Intersection of a Sinusoidal Function and a Line

Click For Summary

Homework Help Overview

The discussion revolves around finding the points of intersection between a sinusoidal function, specifically y=sin(x), and a linear function, y=x/7. The original poster is interested in determining both the number and exact points of intersection, and whether similar methods apply to other functions like y=tan(x) and y=cos(x).

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the challenges of using algebraic techniques with trigonometric functions and suggest graphical methods for approximating intersections. There is mention of numerical methods, specifically Newton's method, as a potential approach for finding solutions.

Discussion Status

Participants have shared insights on the use of graphical methods and numerical approaches, with some expressing interest in the mathematical underpinnings of these methods. There is acknowledgment of the limitations of Newton's method, particularly regarding convergence issues.

Contextual Notes

The original poster requests that the discussion remain at a high school level, indicating a preference for accessible mathematical concepts without delving into advanced calculus.

SimmonSays
Messages
12
Reaction score
0
Member warned to show their own attempt at a solution.

Homework Statement


Hi! I'm trying to find the points of intersection of a sinusoidal function and a line. The line is y=x/7. The function is y=sinx. Can someone tell me how to determine the number of intersections and exact intersections. I would also like to know if the same method can be applied to y=tanx and y=cosx. Thanks! Also, can you keep the math at a high school level; pre-calculus.

Homework Equations

The Attempt at a Solution

 
Physics news on Phys.org
SimmonSays said:

Homework Statement


Hi! I'm trying to find the points of intersection of a sinusoidal function and a line. The line is y=x/7. The function is y=sinx. Can someone tell me how to determine the number of intersections and exact intersections. I would also like to know if the same method can be applied to y=tanx and y=cosx. Thanks! Also, can you keep the math at a high school level; pre-calculus.

Homework Equations

The Attempt at a Solution

Working with trig functions means that most algebraic techniques for finding intersections can't be used.

If you want to find out approximately where y = x/7 and y = sin (x) intersect, probably the quickest way is to make a graph of these two functions.

There should be one obvious value of x which satisfies these two equations. Locating the others is a little more difficult and probably will require some trial and error calculations to find the values of x.
 
y= x/7 and y= sin(x) give x/7= sin(x). An obvious solution to that is x= 0, As for any other solution (and there are other solutions, the slope of x/7 is 1/7 while the slope of sin(x), at x= 0 is 1 so the line goes under the sine curve- but the sine curve turns back down again), as SteamKing says, there is no "algebra way" to solve that, you will need to solve it numerically. One method that tends to converge fairly quickly is "Newton's" method: to solve f(x)= 0, choose some starting value, x_0, construct the next value, x_1= x_0- \frac{f(x_0)}{f'(x_0)}. Then construct x_2= x_1- \frac{f(x_1)}{f'(x_1)} and continue like that until you have sufficient accuracy.

Here, the problem is to solve f(x)= x/7- sin(x)= 0 so f'(x)= 1/7- cos(x) and the formula becomes x_{n+1}= x_n- \frac{x_n/7- sin(x_n)}{1/7- cos(x_n)}= x_n- \frac{x_n- 7sin(x_n)}{1- 7cos(x_n)}.
 
Thank you SteamKing and HallsofIvy for the replies. It actually helped a lot. I'll graph the two functions from now on to find the intersection. I was generally interested in the mathematics if there were an algebraic way to solve. Oh, I didn't know about Newton's method previously; thank you for telling me about. I do not understand it that well at the moment; maybe I will use it in calculus or high-level mathematics. Thank you though.
 
SimmonSays said:
Thank you SteamKing and HallsofIvy for the replies. It actually helped a lot. I'll graph the two functions from now on to find the intersection. I was generally interested in the mathematics if there were an algebraic way to solve. Oh, I didn't know about Newton's method previously; thank you for telling me about. I do not understand it that well at the moment; maybe I will use it in calculus or high-level mathematics. Thank you though.
A word of caution on Newton's method: it does not always converge. If you tried to use it to find where x1/3 becomes zero, starting at some nonzero value for x, you would find each subsequent x value is -2 times the previous one, taking you further and further from the answer. There are ways around this.
 

Similar threads

Replies
11
Views
36K
Replies
17
Views
3K
  • · Replies 17 ·
Replies
17
Views
3K
Replies
2
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 25 ·
Replies
25
Views
5K
Replies
24
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K