has period . In your case, so the period is exactly , how nice.
Hi. I have a problem:
The length of the days of Stockholm change according to the sine function:
Where x = days, y is hours and x = 1 means January the first.
a) Determine the length of the longest and the shortest day.
b) When is day and night equally long?
I have learned that the highest value of these sine functions is 1 and the lowest is -1. I understand that, given all values for sine. However, here, the book seems to be assuming that x can take on any value and thus the highest and lowest value of the sine function is 1 and -1 in this example...But how can the book know whether the calculation inside the sine function will ever reach the values required to get the output 1 and -1 respectively?
OP: Does your actually means ? Look that you have a function that tells you the length of the day for a given day in some particular units.
a) you need to know when a function does have a maximum or minimum, this is, when is its derivative with respect to equals zero.
b) as is the length of the day, when that number is of its maximum value then the day and the night will be equally long
Yes, but we haven't learned derivatives yet in school. I've learned differential calculus on my own and I can derive the function and find it's maxima and minima, but the method we learn to do it by is to simply say assume that the maximum and minum for the sine function is 1 and -1. Is the book making us assume numbers that have not been proven?
It seems that when I take the derivative of every sine function in my book and find the maxima and minima, I get 1 and -1 respectively.
How do I prove that for any x, the min and maxima of the sine function will be 1 and -1?
Hint: In math, it is customary to write function names (as opposed to variable names) in upright font instead of italics. Thus, in sin(x), "sin" is upright because it is a name of a concrete function. In contrast, in f(x), "f" is italic because it is a variable that may take different values such as "sin". For this reason, LaTeX has commands like \sin and \cos for many standard functions, which typeset them in upright font and produce correct spacing between the function and its argument.
For example the function this function does not yield the min and max of 1 and -1 because I limited the values that x can take on.
The sine function has the amplitude that you describe. So by itself does have an amplitude of 1, but a period of 365.
Now, the important part is the , which is a vertical shift. This alters what the amplitude is for the entire funtion . Here's a graph of it:
The graph of the function makes it easier to see what's going on with the numbers. Also, I looked up the sunrise/sunset tables of Stockholm and this function produces accurate results (I have that kind of time tonight). So, no, the book isn't asking you to assume too much; just interpret the function correctly.
I realize how a function like can take on any value and thus the maxima and minima become 1 and -1. However if I limit the values which can be assigned to x, like so: then the maxima and minima are not 1 and -1. The thing I am trying to wrap my head around is why we are so sure that it takes on 1 and -1 in my example when we limit x to 1-365.
What are you talking about specifically? Are you talking about just or are you talking about ? If you are referring to , this function has a domain of all real numbers. This means I can take any real number to be the x value, plug it in, and I will get some number y that is between -1 and 1, inclusive. (That would be the range).I have a limited number of values to assign to my x (namely 1-365) and that confuses me on how the sine function can take on 'any value' or how I can be sure that it reaches the minima and maxima of 1 and -1.
If we take a look at we can see that this expression results in a real number. This is so because the domain of this expression is all real numbers. Therefore, is defined for all values of x that are real numbers. If that is true, then by the properties of sine functions and function transformations, we can determine that although the function is defined for all x such that x is a real number, it's amplitude is still 1 but it's period changed.
I can restrict your domain and tell you that is only defined on the interval . Still, 1 is a real number, and so is 365 so I'm going to get real number results. The sine portion of the function can take on any number from its domain, but we aren't talking about any number; we're talking in the context of the problem, so we have to focus on a restricted domain, namely . Does this restricted domain change what the sine function does? Of course not. Sine still does it's thing. I'm just limiting you on your choices of x values to plug in.
To sum up, you have something*sin(stuff) + something, but the sin(stuff) still does its sine function thing, with a few alterations. Is the amplitude affected in just the sin(stuff) portion? No. Is its period affected? Yes. Does it still take on 1 and -1 if we limit the interval on which it is defined? No ... use a calculator and you'll see that we are at about -0.98 when x=1 and when x=365 . But careful! That's just the sin(stuff) portion!The thing I am trying to wrap my head around is why we are so sure that it takes on 1 and -1 in my example when we limit x to 1-365.
Here's the graph of on the interval :
Correct. To be clear why, let's look at by itself. Again, the amplitude is 1. Oh, wait a second, I don't want you looking at the whole entire graph, so I'm going to restrict your domain to . What happened? We're just looking at a portion of the graph of the function since we are only plotting points on the given interval. Does on the interval ever reach its normal maximum point of 1? No, of course not. That's because we're only looking at a specific set of x values defined by that interval.However if I limit the values which can be assigned to x, like so: then the maxima and minima are not 1 and -1.
I hope that helps.
Are you saying that if we limit the interval to 1-365, then the function's minima is at about -0.98?Does it still take on 1 and -1 if we limit the interval on which it is defined? No ... use a calculator and you'll see that we are at about -0.98 when x=1 and when x=365 . But careful! That's just the sin(stuff) portion!
And just on a side-note. Is it because my function is designed in such a way that by limiting it to this extent, it just happens to converge on the maxima 1 and minima -1?
If so...If I am to identify another likewise function, do I need to derive it to get a correct minima/maxima result?
Looks like the result on the left would be the minimum. Again, these results are only for the expression
evaluated at x=1 and at x=365.
This means that your other expression has different values at x =1 and x =365 . Go ahead, plug in x = 1 and x = 365 into this one, and post the results. Also, I think I showed you the graph earlier for this expression on the interval in question. If I didn't, let me know and I'll get a picture of it here.