0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

(リンクだけです) 「逆函数 (inverse function) 」を調べました。

Last updated at Posted at 2023-02-17

? https://www.deepl.com/ja/translator#ja/en/今まで忘れていました。
? https://www.deepl.com/ja/translator#ja/en/ノーマークでした。
(2023/02/17)

wikipedia

函数と呼ばれる種類の写像の逆写像は、逆函数 (inverse function) と呼ばれる。

Mathematicaで

(2023/07/28追加)

以下の「#」 と「&」 は何でしょうか

In
y1 = (2 x + 5)/(x + 2)
InverseFunction[y1]
y2 = InverseFunction[(2 # + 5)/( # + 2) &]
Plot[{y1, (5 - 2 x)/(-2 + x)}, {x, -4, 4}]

Out 
(5 + 2 x)/(2 + x)
InverseFunction[(5 + 2 x)/(2 + x)]
(5 - 2 #1)/(-2 + #1) &

.png

wolframで

InverseFunction — 記号逆関数

例 y=x^2の逆関数の計算のため、InverseFunctionを使いました。

sympyで

????? (2023/05/17)
??? solveはだめで、solveset にしなさい。????
https://docs.sympy.org/latest/modules/solvers/solveset.html

from sympy import *
x, y = symbols('x y')
def myFinv(f):
    return (solve(Eq(y, f), x)[0]).subs({y:x}).expand()
f=sqrt(x) + 1
print("#",f,"--->",myFinv(f))
f=sin(x)
print("#",f,"--->",myFinv(f))
f=cos(x)
print("#",f,"--->",myFinv(f))
f=tan(x)
print("#",f,"--->",myFinv(f))
# sqrt(x) + 1 ---> x**2 - 2*x + 1
# sin(x) ---> pi - asin(x)
# cos(x) ---> -acos(x) + 2*pi
# cos(x) ---> -acos(x) + 2*pi

大学入試問題

逆関数 < M.E.T.A.様の内部検索

逆関数 < kamelink様のタグ

T氏様

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?