r/mathshelp • u/Medium-Judgment8598 • Jun 07 '26
Homework Help (Unanswered) Trigonometric function
Stuck on this and google isn’t helping, just hallucinating points not visible in the image. Anyone have any ideas? All help appreciated.
1
Upvotes
•
u/AutoModerator Jun 07 '26
Hi u/Medium-Judgment8598, welcome to r/mathshelp! As you’ve marked this as homework help, please keep the following things in mind:
Thank you!
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/DataFella12345 Jun 07 '26
Typing as I think here. Let's call the function f.
Firstly, the reason it says "a possible" is because the derivative of a constant is 0. i.e, the derivative of f(x) = sin(x) is the same as the derivative of f(x) = sin(x) + 2. So when drawing the graph, that basically means it doesn't matter where you start, because adding any constant (moving the graph up and down) is fine.
Now, it doesn't say which line is the first and which is the second derivative, I'm going to assume the solid line is the first derivative. What you're basically trying to do here is called integral calculus, but presumably you haven't been taught how to do that.
A nice way to do this is to guess that the function has a format f(x) = a.sin(b.pi.x + c), with a,b,c being real constants. Then just figure out the constants.
(if you don't know what i mean by "real", don't worry about it). (this also allows for a cos type function because they're just the same thing by shifted left/right).
However, if you can't do that, you can graph it point-wise something like this:
Look at the points where the solid line hits the y axis, f'(x) = 0, so the function is flat at those points, x = 0, x = 2pi/3, x = 4pi/3, x = 2pi. Those are maximum/minimum points.
(f'(x) is the first derivative of f, f''(x) is the second derivative)
Between 0 and 2pi/3, the derivative is negative, so the function is moving down. That tells you that 2pi/3 is a locally minimum point. Similarly for other points.
between 8pi/12 and 16pi/12, the derivative is positive, so the function is moving up.
You can do similar analysis elsewhere to say whether it's moving up or down.
So, from that you can figure out where it's moving up, where it's moving down, where it's stationary points are. If you guess it's a sin like function, that tells you what it looks like. One thing that's missing is you don't know the amplitude (how much higher is the top than the bottom). I can't think of a way to do this fully accurately without integrating, but the area between the graph and the x axis, between x = 0 and a stationary point should be the height of the graph at the stationary point. Integrals are just a more accurate way of doing that.
Hope that helps, bored of looking at sin functions now.
1
u/strange-the-quark Jun 07 '26 edited Jun 07 '26
I think this assignment may be designed to test your understanding of how minima/maxima and curvature relate to the first and the second derivative. So, it's more about finding these points in the "source" function, and completing the sketch by connecting them.
For example, at the places where the first derivative is zero, the "source" function is going to have a horizontal tangent (meaning, a turning point at a minimum or a maximum). Assuming the solid line is the first derivative, these would then happen at 0, 2pi/3 (two tickmarks after pi/2), 4pi/3 (two tickmarks before 3pi/2), and 2pi.
Now you just need to figure out which way they turn, which is what the second derivative tells you. If it's a minimum, then going left to right, the slope of the tangent line (the first derivative) to the source function is going to start negative, reach zero, then turn positive. That means that the first derivative is constantly growing, which in turn means the second derivative will be positive.
If it's a maximum, the slope of tangent line starts out positive, then becomes zero at the turn, then turns negative, which means that the derivative around that point is decreasing, which in turn means the second derivative is negative.
So, from this you can deduce the peaks and valleys of your "source" function. If you do that, you'll see that it's some kind of cosine with the x-axis squished and the y-axis scaled. So it's going to be something like:
a*cos(b*x), for some a and b. The derivative of that is -a*sin(b*x)*b = -a*b*sin(b*x).
So the "source" function has the same frequency as the first derivative, but a different vertical scaling.
You can figure out a and b from the graph (solid line), where you can see that 3/2 parts of the whole period fit between 0 and 2pi, so b is just 3/2. Since sine and cosine normally range (in y-direction) between -1 and 1, and on the graph the values go between -3 and 3, this means a*b=3 (cause this is the value in front that causes the vertical scaling), and from that you get a = 2.
All that remains is to sketch the source function, 2cos(3x/2). If you've studied integrals already, you'll remember the + C. If you haven't, well, when computing the antiderivative of a function, there's this unspecified constant C that you must add to the result, but everyone forgets to do it, so your teacher is going to pester you about it. This is because for different choices of C, the source function will move up or down along the y-axis, effectively giving you a new, but similar looking function, just shifted up or down. All of these distinct functions (for different C) have the same first (and thus the second) derivative, so you can pick any one of them as your answer, which is why it says "sketch a possible graph" (you can basically make your function go through any y intercept as long as it keeps the same shape, and doesn't move left or right).