Questions on trigonometric and hyperbolic functions, as well as their inverses, in Mathematica.

learn more… | top users | synonyms

3
votes
2answers
103 views

Mathematica not recognising closed forms as specific values

I have a Mathematica program that outputs a piecewise function, and some parts of the expression are not being recognised as specific numbers when using ...
1
vote
1answer
78 views

Get Cos[2 x] in “Solve”

My goal is to get an analytical solution of x ( $\lambda$ in the problem), when $\epsilon$ (f[x] in the problem) is maximum (use inverse form). I found that if I can use trigonometric identity ...
0
votes
0answers
14 views

I have problem with Trigonometry [migrated]

Tomorrow I have a test and there is one exercise in my textbook that isn't explained. Here is the exercise. ...
1
vote
1answer
93 views
1
vote
1answer
85 views

Fitting data using a series of Sin and Cos

I have the following data representing the normal displacement caused by a normal load applied at the middle cross section of a cylinder: I've made the data available here. I am trying to fit ...
2
votes
1answer
178 views

Solve[Tan[theta] == (b*Sin[t])/(a*Cos[t]), theta] breaks when “Reals” is added?

Mathematica solves this equation fine: Solve[ Tan[theta] == (b*Sin[t])/(a*Cos[t]), theta] // InputForm ...
1
vote
1answer
65 views

Prevent FullSimplify from converting trigonometric expressions to exponential

There's an option for FullSimplify, which is Trig, and with it I could prevent a trigonometric identities from being used. I'm ...
4
votes
0answers
52 views

Transform an expression to remove the singularity

I have the expression Sin[c x]/c. Clearly it is undefined at $c=0$, but that is merely a removable singularity, since $$\frac{\sin(cx)}c=x\frac{\sin(cx)}{cx}= ...
0
votes
1answer
94 views

Mathematica can't simplify ellipse-related trig equation over reals?

f[t_] = -4 + Sqrt[(-Sqrt[3] + 2*Cos[t])^2 + Sin[t]^2] + Sqrt[(Sqrt[3] + 2*Cos[t])^2 + Sin[t]^2] The function above is identically 0 for all real values of t. ...
4
votes
2answers
109 views

Why Refine does not simplify Cos[2*Pi*FractionalPart[1/2*(i + j + k)]] to $(-1)^{i+j+k}$?

I am obtaining in Mathematica: Cos[2*Pi*FractionalPart[1/2*(i + j + k)]] We know that for $i, j, k$ being positive integers this expression after simplification ...
14
votes
2answers
674 views

Why do certain values in ArcSin not fully evaluate?

This is a continuation of: Why do certain fractional values in TriangleWave not evaluate? The analysis by R.M and rasher revealed that problem to reduce to the behavior of: ...
2
votes
4answers
175 views

Redefine ArcCot to be inverse of range [0, Pi]

Mathematica implements ArcCot function as an inverse to Cot on range [-Pi/2, Pi/2]. I ...
0
votes
0answers
62 views

Algebraic condition from a non linear equation

I have got a system of equations which look like this: $\theta_{1}^{2}e^{\phi_{1}\cos(\Omega z)}\tilde{w}\cos^{2}(\theta_{1}\sin\Omega z)\sin^{2}\Omega z+\frac{1-\lambda\cos(2\theta_{1}\sin\Omega ...
0
votes
2answers
113 views

How to insert trigonometric functions into matrices' vector components? [closed]

Is it possible to insert a trigonometric function into a matrix which will be able to be used dynamically, as an element of one of the vectors of the matrix? I'm trying to perform an operation like ...
7
votes
4answers
246 views

How to make Mathematica simplify $\cos[(i + j + k)\pi]$ to $(-1)^{i+j+k}$?

We know that: $$ \cos\left[(i+j+k)\pi\right] = (-1)^{i+j+k} $$ for $i, j, k$ being positive integers. In Mathematica I've tried: ...
1
vote
1answer
196 views

Mathematica's ArcTan function [duplicate]

I'm trying to calculate the angle made by a vector from two vector components but am having some trouble. The x-component has a magnitude of -2.7388321862151737*^10 and the y-component has a magnitude ...
1
vote
2answers
132 views

Highlighting a single Period of a Trig Plot

How do I highlight a single period of a trig function say by using color and/or thickness when the graph itself extends further than just a single period? Thanks...Gregory Lane
7
votes
2answers
223 views

How to automatically get rid of trig functions in an expression?

I have a large expression containing many terms like this: Sin[1/2 ArcTan[(2 Log[5])/(Log[5]^2 - 2)]] where a trig function is invoked on a rational multiple ...
6
votes
1answer
190 views

Simplifying a trigonometric sum

I want to caculate Cos[θ] + Cos[2 θ]+ ... + Cos[n θ] Sum[Cos[k θ], {k, 1, n}] ...
6
votes
2answers
154 views

ArcTan and Compile

See following three snippet code: ...
4
votes
4answers
571 views

Simplifying a trigonometric expression

I'm sure this has been addressed before, but I can't find it! I want Mathematica to simplify Sqrt[1 - Sin[π/6 - θ]^2] to ...
3
votes
3answers
182 views

Speed up Eliminate

I have a set of trig equations, c1,c2,c3 are constants, I excepted the result is c1 c2 c3 r^2 + (c1^2 + c2^2 + c3^2 - 1) r + c1 c2 c3 == 0 but following code ...
2
votes
2answers
132 views

Trigonometry expansion of a product

The following command does what I want: ...
1
vote
4answers
713 views

Solve trigonometric equation

I'm looking for a solution (graphic, numeric or analytic) for a function of the form: $$a^2\tanh(x)=\tan(ax),\quad a ≥ 1,\ x > 0$$ preferably using Mathematica. Any advice?
2
votes
1answer
205 views

Problem with Sinc[x] function and rounding

I seem to be having some trouble with the Sinc[x] function, and I think it's due to rounding, but I'm not sure. The code is below, with relevant constants: ...
4
votes
1answer
203 views

How to check if a given expression is an “explicit algebraic number”?

The documentation for PossibleZeroQ says: With the setting Method...
1
vote
1answer
314 views

How can I get Mathematica to write Log instead of ArcTan?

ArcTan really bothers me, so is there a way to make Mathematica write Logarithm instead of ...
2
votes
3answers
246 views

Problem with simplifying Sinc function

$Assumptions = x ∈ Reals && y ∈ Reals && a ∈ Reals && b ∈ Reals; These work: ...
4
votes
4answers
455 views

Arcs of rotation for angles

How can I draw trigonometric angles of any radian measure associated with the unit circle, complete with the x-axis and y-axis? How can I draw arcs of rotation inside positive or negative angles? Is ...
3
votes
3answers
243 views

How to extract phase angle from sinusoid

I'm doing some electric circuit calcualtions and I'm trying to get the phasor representation of some arbitrary function of Sin or Cos. Could be complex like: ...
0
votes
1answer
171 views

Avoid trigonometric simplifications?

When evaluating the expression Sinh[x]^2 + Cosh[x]^2 // FullSimplify I get Cosh[2 x] That is indeed a simplification, but ...
1
vote
1answer
279 views

How can I factor my trigonometric equation?

The equation $$3\sin^2 x - 3\cos x -6\sin x + 2\sin 2x + 3=0$$ has a solution $x = 0$. That means it has a factor of $\cos x - 1$. I tried to write the given equation has the form $$(\cos x - ...
0
votes
2answers
400 views

Simplifying a trigonometric equation to obtain specific terms

When I try to solve the non-homogeneous differential equation ...
3
votes
2answers
409 views

Evaluating the integral of $\cos (\theta )\cos\left[\tan ^{-1}\left(\frac{a^2 \tan (\phi )}{b^2}\right)\right]$

I am trying to evalute the following integral: Integrate[Cos[θ] Cos[ArcTan[a^2/b^2 Tan[φ]]], {φ, 0, 2π}] I know that for $a=b$ I should get 0 out of the integral ...
0
votes
1answer
60 views

Plot not displaying [duplicate]

I'm trying to perform a basic plot to show that two equations align, but I'm not getting any results. Plot[{[Pi]*Cos (3 x - [Pi]), [Pi] * Sin (3*[Pi] - 3 x)}, {x, -3 [Pi], 3 [Pi]}] To me this seems ...
0
votes
1answer
150 views

Wolfram Alpha's Mysterious Trig Abilities [closed]

This is a very straight-forward question: I'm trying to simplify [sin(2pi*t +pi/4) + sin(2pi*t -pi/4)], and failing at it: ...
2
votes
1answer
140 views

Discard functions with wrong symmetry?

I have functions of x, where x is the polar angle of spherical coordinates, i.e. ...
2
votes
2answers
281 views

How do I get the solutions of a cubic equation in trigonometric form?

I know $x^3-3 x+1=0$ has three roots that can be expressed in trigonometric form: $\{2\sin(10^\circ),\,-2\cos(20^\circ),\,2\cos(40^\circ)\}$. How can I get this result with Mathematica?
0
votes
1answer
108 views

Non solutions returned by NSolve. And why does it return both phi and Cos[phi]?

Similarly to this thread NSolve gives additional solutions that don't satisfy the equations! NSolve returns "spurious" solutions, even increasing the working precision ...
9
votes
2answers
2k views

How to expand tan(x+y) as normal form?

TrigExpand@Tan[x + y] gives $\frac{\sin (x) \cos (y)}{\cos (x) \cos (y)-\sin (x) \sin (y)}+\frac{\cos (x) \sin(y)}{\cos (x) \cos (y)-\sin (x) \sin (y)}$ but I ...
15
votes
1answer
394 views

Speeding up trigonometric integral

Context On a possible non trivial toric topology for the Universe (nothing less!). Problem I would like to carry out the following integral for $\ell=2,4\cdots 20$. $$\int _0^{\pi }\int _0^{2 \pi ...
4
votes
2answers
224 views

Both Sin[x]==0 && Cos[x]==0 as a solution

If I do FullSimplify[Reduce[Sin[p1] == 0 && Cos[p1] == 0, Reals]] I get Cos[p1] == 0 && Sin[p1] == 0 ...
8
votes
2answers
1k views

How do I work with Root objects?

I want to solve the trigonometric equation : $$(3-\cos 4x )\cdot (\sin x - \cos x ) = 2.$$ I tried Solve[(3 - Cos[4*x])*(Sin[x] - Cos[x]) == 2, x] It returns the ...
5
votes
4answers
495 views

How to transform the result of this integral into powers of $\sin\,x$?

I want to calculate the integral $I = \displaystyle\int{\cos ^5 x\, \mathrm dx}$. Using the variable $t = \sin x$, I get $$I = \sin x - \frac{2}{3}\sin^3 x + \frac{1}{5}\sin^5 x + C.$$ With ...
4
votes
1answer
340 views

Solving trig identities in specific terms

How would you solve a problem like "write csc(x) in terms of sec(x)" in Mathematica? The best I can get is "True." http://math.stackexchange.com/questions/167935/write-cscx-in-terms-of-secx I'm ...
17
votes
2answers
698 views

ArcTan[0,0] numeric approximation

I've noticed that the numeric approximation of ArcTan is a bit different from the symbolic one. If I write ArcTan[0,0] I ...
0
votes
2answers
160 views

Sum of roots of a trigonometric equation

The equation $$ \sin x + \sqrt{3} \cos x = 1,$$ where $x \in [-2\pi, 2\pi]$ has four roots $-\dfrac{3\pi}{2}$, $\dfrac{\pi}{2}$, $\dfrac{\pi}{2}$ and $\dfrac{11\pi}{6}$. Sum of roots of the given ...
17
votes
4answers
512 views

How do I introduce a new variable in a trigonometric equation?

I have the trigonometric equation \begin{equation*} \sin^8 x + 2\cos^8 x -\dfrac{1}{2}\cos^2 2x + 4\sin^2 x= 0. \end{equation*} By putting $t = \cos 2x$, I have \begin{equation*} \dfrac{3}{16} t^4+ ...
5
votes
2answers
1k views

Solving a trig equation

I am trying to find an explicit solution to a trigonometric equation. It is running for a long time and I didn't get any result, but Maple solves it quickly. Why ? ...
11
votes
1answer
1k views

Persistence length of a polymer chain

I'm trying to calculate the persistence length (Lp) of a polymer chain using Mathematica. The first and simplest method is to compare the EuclideanDistance between ...