Finding the Intersection of a Sinusoidal Function and a Line

In summary, the conversation discusses finding the points of intersection of a sinusoidal function and a line, specifically y=x/7 and y=sinx. The experts suggest graphing the functions to determine the number and exact intersections. They also mention that there is no algebraic way to solve the problem and suggest using Newton's method, although caution should be taken as it does not always converge. The conversation concludes with the asker thanking the experts for their help.
  • #1
SimmonSays
12
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
  • #2
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.
 
  • #3
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, [itex]x_0[/itex], construct the next value, [itex]x_1= x_0- \frac{f(x_0)}{f'(x_0)}[/itex]. Then construct [itex]x_2= x_1- \frac{f(x_1)}{f'(x_1)}[/itex] 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 [itex]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)}[/itex].
 
  • #4
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.
 
  • #5
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.
 

FAQ: Finding the Intersection of a Sinusoidal Function and a Line

What is the purpose of finding the intersection of a sinusoidal function and a line?

The intersection of a sinusoidal function and a line is used to determine the points where the two graphs intersect. This can be helpful in solving real-world problems involving waves or periodic functions.

How do you find the intersection of a sinusoidal function and a line?

To find the intersection, you need to set the two equations equal to each other and solve for the variable. This will give you the x-coordinate of the intersection. To find the y-coordinate, you can plug the x-value into either of the original equations.

What is the difference between finding the intersection of a sinusoidal function and a line algebraically versus graphically?

Algebraically, you are solving for the exact coordinates of the intersection point. Graphically, you are estimating the coordinates by looking at the point where the two graphs visually intersect on a graph.

What are some common applications of finding the intersection of a sinusoidal function and a line?

Some common applications include analyzing sound waves, determining the maximum and minimum values of a periodic function, and solving problems involving harmonic motion or oscillation.

What are some tips for finding the intersection of a sinusoidal function and a line?

Some helpful tips include making sure the equations are in the same form (e.g. both in standard form or both in slope-intercept form), using substitution to solve for the variable, and checking your solution by plugging the coordinates back into the original equations.

Back
Top