Questions tagged [trigonometry]

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

Filter by
Sorted by
Tagged with
5 votes
3 answers
130 views

Collect the coefficients through the Cos argument

I have for example the following expression: ...
user avatar
2 votes
1 answer
66 views

Slow integration of trigonometric expression speeds up after TrigReduce

I'm trying to integrate a trigonometric expression as Integrate[Cos[2 t] Cos[3 t] Cos[4 t] Cos[5 t] Sin[2 t] Sin[3 t], {t, 0, 2 Pi}] The final results is correct (...
user avatar
1 vote
0 answers
34 views

Power of trigonometric function matrix [closed]

Calculate the m-power of the following trigonometric function matrix (m>0): $\boldsymbol{A}=\left(\begin{array}{cc}\cos \varphi & -\sin \varphi \\ \sin \varphi & \cos \varphi\end{array}\...
user avatar
  • 1,407
4 votes
1 answer
78 views

How can I have Mathematica solve the curve equation when nested functions are involved?

In the context of Quantum Computing, I am investigating curves that illustrate an error propagation during qubit rotations on a Blochsphere (I asked a related question in the same context here and ...
user avatar
3 votes
0 answers
122 views

Cannot Understand nth Derivative of x/ArcTan[x]

The nth derivative of x/ArcTan[x]: f[x_, n_] = D[x/ArcTan[x], {x, n}] Evaluates to: I cannot get this general from to return ...
user avatar
3 votes
2 answers
122 views

Replacing a trigonometric value

It looks like MMA cannot evaluate Tan[42°] but it can be written as (-Sqrt[6 - 2 Sqrt[5]] + Sqrt[6 (5 + Sqrt[5])])/(2 Sqrt[7 - ...
user avatar
  • 1,231
0 votes
1 answer
49 views

Unable to simplify exponential expression to its simplest form of trigonometric expression by Euler's formula

Applying "FullSimplify" fails to simplify the following expressions: Input: ...
user avatar
  • 3
1 vote
1 answer
122 views

convert n*Arctan[x] to ArcTan[x]

In the result of solving the equation or the integral often get something like k*ArcTan[x], I prefer the ArcTan[x] form. For ...
user avatar
  • 5,112
4 votes
3 answers
180 views

How to build an inscribed circle in a triangle on a sphere?

I want to build an inscribed circle into a triangle on a sphere. To do this, I first build its center - the intersection point of the bisectors. But there were problems with finding it. I build the ...
user avatar
  • 41
1 vote
1 answer
83 views

Solving multivariable trig Identities

I'm trying to solve for a certain set of trig identities in terms of other trig identities. I saw this and this, but in my example, I have two tries: ...
user avatar
2 votes
1 answer
77 views

Reduce yields ArcTan instead of Pi/4

I expect this call: Reduce[Sin[x] - Cos[x] == 0, x, Reals] to return $x = \pi/4 + 2k\pi \ \vee \ x = -3/4 \ \pi + 2k\pi$. However, $\pi/4$ and $3/4\ \pi$ get ...
user avatar
  • 77
6 votes
2 answers
263 views

How to pose simultaneous trigonometric equations problem in a way solvable by mathematica

Context: A camera at O has an image of a rectangular object ABCD. From the 2D coordinates of the image + the projection matrix of the camera I can calculate the direction vectors $\hat {A}, \hat{B}, \...
user avatar
  • 113
0 votes
0 answers
94 views

Simplification of long trigonometric expression taking a long time

I have tried to Simplify as well as FullSimplify a long trigonometric expression to get a simplified form of the expression but it takes a very long time almost hours and sometimes it also shows error ...
user avatar
2 votes
1 answer
80 views

How to do some trigonometric derivations

Two substitutions fail, so do I forget some earlier steps? For Cos[x] == Sin[(1/2)*Pi + x] /. x -> (1/2)*x = true I don't get the final answer, but only true. <...
user avatar
  • 649
9 votes
6 answers
593 views

Finding which given functions are equal to each others

I have about 50 piece functions (generally trigonometric functions). I want to find out which ones are equal to each other after some simplifications such as ...
user avatar
  • 513
4 votes
2 answers
106 views

Solving a set of trig inequalities

I have a set of inequalities Cos[a]Cos[b]>=Cos[t-a]Cos[b]&&Cos[a]Cos[b]>=Cos[t/2]&&Cos[a]Cos[b]>=Sin[t/2]&&a<=t<=Pi How to ...
user avatar
  • 422
4 votes
1 answer
130 views

Mathematica vs Rubi --- integrate $f(x,y) = x \sin^2 x + a x y$ --- Mathematica got this round? [closed]

Consider the function: $$ \begin{equation} f(x,y) = x \sin^2 x + a x y \end{equation} $$ with $a$ being a constant. We want to do the indefinite integral over $x$ and then over $y$. We do that using <...
user avatar
  • 4,153
1 vote
0 answers
19 views

How to sort out only terms that relates to certain variable in the results of TrigReduce? [closed]

I have a large function $F(\theta,\alpha_1,\alpha_2,...)$ which involves only trigonometric polynomial of these angles. I want to calculate $\frac{1}{2\pi}\int_0^{2\pi} Fd\theta$, but the function is ...
user avatar
3 votes
5 answers
485 views

How do you make Tan[A+B] expansion give the well known high school answer? [duplicate]

What command makes Tan[A+B] expand to (Tan[A]+Tan[B])/(1-Tan[A]Tan[B])? TrigExpand does not ...
user avatar
2 votes
1 answer
94 views

Strange effect in the SphericalPlot3D [closed]

I found something odd in Mathematica when using the SphericalPlot3D command. Ranges for $x,y∈[0,2 \pi]$ are the same. All I do is swap sine and cosine. But when I ...
user avatar
  • 1,847
1 vote
1 answer
141 views

How can I get mathematica to prove $\sum_{k=0}^{n-1}\tan\left(\theta+\frac{k\pi}{n}\right)=−n\cot\left(\frac{n\pi}{2}+n\theta\right)$?

How can I get Mathematica to prove $\sum_{k=0}^{n-1}\tan\left(\theta+\frac{k\pi}{n}\right)=−n\cot\left(\frac{n\pi}{2}+n\theta\right)$ (1)? ...
user avatar
  • 325
0 votes
1 answer
40 views

Updating the association with answers from the TrigProperties Function

I have created a list of rules I would like to update with values. My goal here is to be able to write the following: ...
user avatar
0 votes
1 answer
64 views

NIntegrate giving different results after a change of variables

When I compute numerically the following double integral: \begin{equation} f(x,y)=\int_{-\infty}^{+\infty}da\int_{-\infty}^{+\infty}db\, \cosh\left[\frac{\sinh^{-1}(a)-\sinh^{-1}(b)}{2}\right]\, \exp\...
user avatar
  • 135
2 votes
1 answer
88 views

Calculate ArcTan in AceGen

I am working on a material model SMSStandardModule["Tangent and residual"] in AceGen and want to use command ToSphericalCoordinates for but AceGen is ...
user avatar
0 votes
1 answer
96 views

Solving a system of coupled trigonometric equations to find angles

I have a system of 9 coupled trigonometric equations (a 3X3 Matrix). I am trying to find four unknown angles $\theta_1, \theta_2, \phi_1, \phi_2$ by solving any 4 out of 9 such equations. $\text{M}=\...
user avatar
3 votes
2 answers
175 views

How to get the result of TrigFactor in terms of Cos

If I use TrigFactor, it gives the result in terms of Sin: In[483]:= expr := Cos[x] + Sin[x] TrigFactor[expr] Out[485]=Sqrt[2]*Sin[Pi/4 + x] What I want to get is <...
user avatar
3 votes
1 answer
219 views

Why can I not numerically integrate a smooth, integrable function?

Consider the function $\csc(t)\sin(3t)$ on the interval $[0,\pi]$. This is a perfectly well-behaved smooth function, as can be seen when plotting it: ...
user avatar
  • 837
3 votes
2 answers
149 views

Any way to get Mathematica to Solve[Sin[Tan[x]]-Tan[Sin[x]]==0,x]?

Solve[Sin[Tan[x]] - Tan[Sin[x]] == 0, x] It says it runs out of methods. After a very long time. Plotting the expression shows there are periodic solutions and ...
user avatar
3 votes
1 answer
186 views

Why reduce does not give solution for ArcTan[Tan[x]] == x?

Basic question I can't see why now. This works Simplify[ArcTan[Tan[x]] == x, Assumptions -> -Pi/2 < x < Pi/2] (*True*) But ...
user avatar
  • 113k
8 votes
3 answers
2k views

Why doesn't Mathematica know the exact value of some trivial trigonometric functions?

The trigonometric functions for half angles have well-defined and simple rules. For example $$\tan\left(\frac x2\right)=\frac{\sin x}{1+\cos x}=\frac1{\csc x+\cot x}$$ But I can't get the exact value ...
user avatar
  • 791
0 votes
0 answers
76 views

Maximize algebraic trigonometric function

I'm trying to maximize an algebraic function containing trigonometric functions: $$\mathrm{sol}=\frac{\sin\theta \cos(\alpha +\beta)\cos(\theta+\alpha+\phi)\cos\bar{\delta}}{\cos^2\alpha\cos(\alpha+\...
user avatar
  • 173
2 votes
1 answer
195 views

DSolve fails to find solution based on elementary function

I have two differential equations for which DSolve does not find a solution, however, there are simple solutions in terms of elementary functions, and more ...
user avatar
  • 4,153
2 votes
3 answers
157 views

Solving implicitly a trigonometric equation

I am trying to solve this equation with respect to L: L== ((9.81*T^2)/(2*Pi)) Tan[2Pi*d/L] Since you have the unknown ...
user avatar
1 vote
1 answer
61 views

Prevent automatic simplification of trigonometric functions with complex argument

I would like to prevent automatic simplification of some trigonometric functions involving complex numbers. The option AutosimplifyTrigs does the trick with 1/Cos[z], but not with Cos[I z]. ...
user avatar
6 votes
2 answers
802 views

Why does Mathematica not give the simple solution of the given equations?

I want to solve this system of two equations for $x$ $$\{ \sin (2\pi x)+\sin (\frac{2\pi}y)=0 \quad , \quad \cos (2\pi x)-\cos (\frac{2\pi}y)=0 \} \qquad (1)$$ I use ...
user avatar
  • 141
0 votes
1 answer
90 views

Plotting equation with some unknown parameters

I am new to the Mathematica and I have a question about the plotting. I am trying to plot the transcendental equation $$\tan{(z)}=\sqrt{\frac{1}{2m_0}\left (\frac{z_0}{z}\right)^2-1} $$ where the ...
user avatar
0 votes
1 answer
67 views

How to solve for when this trigonometric function intersects the line $y=1$?

How can I solve for $\alpha$ in $$4\sin\left(\frac{\alpha}{2}\right)\cos\left(\frac{\alpha}{2}\right)^{3}\left(t-r\right)+\sin\left(\frac{\alpha}{2}\right)=1$$ on the domain $0\leq\alpha\leq\pi$? ...
user avatar
7 votes
2 answers
142 views

Why does FunctionPeriod give two different results for alternative forms of the given function?

I have a function for the variable $x>0$ and constant $a\in\mathbb{R}$. I write it in its two alternative forms $$f(x)=\cos a\pi-\cos x\pi =-2\sin\frac{(a-x)\pi}{2}\sin\frac{(a+x)\pi}{2} $$ Then, I ...
user avatar
  • 335
1 vote
0 answers
79 views

Is there a function in Mathematica to combine/decompose sinusoids? [closed]

Lets say I have some combination of an arbitrary number of sinusoids with potentially varying magnitudes, phase angles and frequencies that I would like to compose into a singular sinusoid, is there a ...
user avatar
-1 votes
1 answer
113 views

Solve A System of Trigonometric Equations

I tried running the following code on Mathematica Cloud, but it didn't because it was taking long of I have the basic plan. Would someone please run this code for me and share with me the results. it'...
user avatar
3 votes
1 answer
150 views

Simplifying a difficult trigonometric sum

As this video shows, $$\tan \left( \frac{3 \pi}{11} \right) + 4 \sin \left( \frac{2 \pi}{11} \right) = \sqrt{11} .$$ The direct and obvious methods for Mathematica to find this solution do not work: <...
user avatar
0 votes
1 answer
117 views

How to simplify complex Trigonometric expression in mathematica? [closed]

The expression which I need to simplify in mathematica into simplest form ...
user avatar
2 votes
0 answers
169 views

Does Mathematica know about trig identities?

I am calculating some geometry via two different ways in Mathematica. One uses a known trig identity the other doesn't. We define angles of two right-angle triangles. ...
user avatar
2 votes
2 answers
67 views

Removing transient part in equation and solving for a general form

I have the following code that I run: ...
user avatar
  • 1,765
2 votes
1 answer
102 views

NIntegrate fails to solve a double oscillatory integral

I need to compute the following integral: ...
user avatar
  • 135
0 votes
1 answer
63 views

How solve this system of trigonometric equations?

I have the following system of equations: (substituting any real values for a,b,c,r,Alpha,Beta will return the same answer for x) ...
user avatar
  • 103
2 votes
1 answer
146 views

Returning trigonometric value answers in irrational form

I need to find the irrational form of Sin[7*\[Pi]/8]. But in Mathematica, I can get its numerical value. I am getting ...
user avatar
  • 1,215
1 vote
1 answer
64 views

Why if I change the function Sine to discrete Sine the plot is difference

I would like to know why when I change +1 in a discrete Sine change the list line plot and when I plot the function sine anything change. ...
user avatar
1 vote
0 answers
48 views

How can I prevent Mathematica to simplify basic trigonometric identities (1/Cot(x))? [duplicate]

I'm working on a code to display(Print[]) the answers of some excercises for my students. Some of the answers have parts like 1/Cot(x). I want to prevent Mathematica to transform this expression into ...
user avatar
4 votes
1 answer
148 views

Determining Mean Path Length

I'm interested in working out the average path length in a square. Assume at a single point within the square, photons are released in every direction. I'm interested in determining the average path ...
user avatar
  • 3,862

1
2 3 4 5
10